<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>语言桥 - 沉浸式双语学习平台</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">

    <!-- 配置Tailwind自定义颜色和字体 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#3B82F6',
                        secondary: '#10B981',
                        accent: '#8B5CF6',
                        dark: '#1E293B',
                        light: '#F8FAFC'
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                },
            }
        }
    </script>

    <style type="text/tailwindcss">
        @layer utilities {
            .text-shadow {
                text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }

            .card-hover {
                transition: all 0.3s ease;
            }

            .card-hover:hover {
                transform: translateY(-5px);
            }

            .english-word {
                @apply text-primary font-semibold border-b-2 border-primary/30 px-1;
            }
        }
    </style>
</head>
<body class="bg-light text-dark">
<!-- 导航栏 -->
<header class="fixed w-full bg-white/90 backdrop-blur-sm shadow-sm z-50 transition-all duration-300">
    <div class="container mx-auto px-4 py-3 flex justify-between items-center">
        <a href="#" class="flex items-center space-x-2">
            <span class="text-primary text-2xl"><i class="fa fa-language"></i></span>
            <span class="font-bold text-xl">故事岛记单词</span>
        </a>

        <!-- 桌面导航 -->
        <nav class="hidden md:flex items-center space-x-8">
            <a href="#features" class="hover:text-primary transition-colors">特点</a>
            <a href="#stories" class="hover:text-primary transition-colors">学习故事</a>
            <a href="#testimonials" class="hover:text-primary transition-colors">用户评价</a>
            <a href="#download"
               class="bg-primary hover:bg-primary/90 text-white px-5 py-2 rounded-full transition-all shadow-md hover:shadow-lg">开始学习</a>
        </nav>

        <!-- 移动端菜单按钮 -->
        <button class="md:hidden text-dark text-xl" id="menuBtn">
            <i class="fa fa-bars"></i>
        </button>
    </div>

    <!-- 移动端导航菜单 -->
    <div class="md:hidden hidden bg-white border-t" id="mobileMenu">
        <div class="container mx-auto px-4 py-3 flex flex-col space-y-4">
            <a href="#features" class="py-2 hover:text-primary transition-colors">特点</a>
            <a href="#stories" class="py-2 hover:text-primary transition-colors">学习故事</a>
            <a href="#testimonials" class="py-2 hover:text-primary transition-colors">用户评价</a>
            <a href="#download" class="bg-primary hover:bg-primary/90 text-white px-5 py-2 rounded-full text-center transition-all">开始学习</a>
        </div>
    </div>
</header>

<main>
    <!-- Hero区域 -->
    <section class="pt-28 pb-20 md:pt-36 md:pb-28 bg-gradient-to-br from-blue-50 to-purple-50">
        <div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
            <div class="md:w-1/2 mb-10 md:mb-0">
                <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-bold leading-tight text-shadow mb-6">
                    在<span class="text-primary">故事</span>中探索<br>
                    全新的<span class="text-accent">语言世界</span>
                </h1>
                <p class="text-lg md:text-xl text-gray-600 mb-8 max-w-lg">
                    我们通过精心设计的中文<span class="english-word">stories</span>，自然融入英文<span class="english-word">vocabulary</span>，让学习变得轻松而<span
                        class="english-word">enjoyable</span>。
                </p>
                <div class="flex flex-col sm:flex-row gap-4">
                    <a href="#download"
                       class="bg-primary hover:bg-primary/90 text-white px-8 py-3 rounded-full text-center font-medium transition-all shadow-lg hover:shadow-xl">
                        立即开始 <i class="fa fa-arrow-right ml-2"></i>
                    </a>
                    <a href="#how-it-works"
                       class="border-2 border-primary text-primary hover:bg-primary/5 px-8 py-3 rounded-full text-center font-medium transition-all">
                        了解更多
                    </a>
                </div>
            </div>
            <div class="md:w-1/2">
                <img src="https://picsum.photos/id/3/600/400" alt="语言学习场景" class="rounded-xl shadow-2xl w-full object-cover h-auto">
            </div>
        </div>
    </section>

    <!-- 特点介绍 -->
    <section id="features" class="py-20 bg-white">
        <div class="container mx-auto px-4">
            <div class="text-center mb-16">
                <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold mb-4">为什么选择我们的<span class="text-primary">学习方式</span>？</h2>
                <p class="text-gray-600 max-w-2xl mx-auto text-lg">我们的方法基于认知科学，让语言学习如同呼吸一样自然</p>
            </div>

            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <!-- 特点1 -->
                <div class="bg-gray-50 rounded-xl p-8 shadow-md card-hover">
                    <div class="w-14 h-14 bg-primary/10 rounded-full flex items-center justify-center mb-6">
                        <i class="fa fa-book text-primary text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">沉浸式故事</h3>
                    <p class="text-gray-600">
                        通过引人入胜的中文<span class="english-word">stories</span>，在上下文中自然学习英文<span
                            class="english-word">expressions</span>，比机械记忆更有效。
                    </p>
                </div>

                <!-- 特点2 -->
                <div class="bg-gray-50 rounded-xl p-8 shadow-md card-hover">
                    <div class="w-14 h-14 bg-secondary/10 rounded-full flex items-center justify-center mb-6">
                        <i class="fa fa-brain text-secondary text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">智能复习</h3>
                    <p class="text-gray-600">
                        基于<span class="english-word">spaced repetition</span>算法，在你即将忘记时恰到好处地提醒你复习，强化<span class="english-word">memory</span>。
                    </p>
                </div>

                <!-- 特点3 -->
                <div class="bg-gray-50 rounded-xl p-8 shadow-md card-hover">
                    <div class="w-14 h-14 bg-accent/10 rounded-full flex items-center justify-center mb-6">
                        <i class="fa fa-gamepad text-accent text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">互动练习</h3>
                    <p class="text-gray-600">
                        通过有趣的<span class="english-word">quizzes</span>和游戏巩固所学内容，让学习不再枯燥，充满<span class="english-word">fun</span>。
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- 学习故事示例 -->
    <section id="stories" class="py-20 bg-gray-50">
        <div class="container mx-auto px-4">
            <div class="text-center mb-16">
                <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold mb-4">体验我们的<span class="text-accent">学习故事</span></h2>
                <p class="text-gray-600 max-w-2xl mx-auto text-lg">每个故事都是精心设计的语言学习旅程</p>
            </div>

            <div class="bg-white rounded-2xl shadow-xl overflow-hidden max-w-4xl mx-auto">
                <div class="md:flex">
                    <div class="md:w-2/5">
                        <img src="https://picsum.photos/id/24/600/800" alt="旅行故事" class="h-full w-full object-cover">
                    </div>
                    <div class="md:w-3/5 p-6 md:p-8">
                        <div class="flex items-center mb-4">
                            <span class="bg-blue-100 text-primary text-sm px-3 py-1 rounded-full">初级水平</span>
                            <span class="ml-3 text-gray-500"><i class="fa fa-clock-o mr-1"></i> 5分钟阅读</span>
                        </div>
                        <h3 class="text-2xl font-bold mb-4">一次难忘的旅行</h3>
                        <div class="prose max-w-none text-gray-700 space-y-4">
                            <p>
                                去年夏天，我决定独自去<span class="english-word">travel</span>。我收拾好<span class="english-word">backpack</span>，带上护照，就出发了。
                            </p>
                            <p>
                                第一站是日本东京。那里的人们非常<span class="english-word">friendly</span>，即使语言不通，他们也会尽力帮助我。我参观了很多著名的<span
                                    class="english-word">places</span>，比如东京塔和浅草寺。
                            </p>
                            <p>
                                在旅行中，我学会了如何用英文<span class="english-word">communicate</span>，如何解决突发<span class="english-word">problems</span>。这是一次非常宝贵的<span
                                    class="english-word">experience</span>。
                            </p>
                        </div>
                        <div class="mt-6">
                            <a href="#" class="inline-flex items-center text-primary font-medium hover:underline">
                                继续阅读 <i class="fa fa-long-arrow-right ml-2"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>

            <div class="mt-12 text-center">
                <a href="#"
                   class="inline-flex items-center bg-white border border-gray-300 text-gray-700 hover:bg-gray-50 px-6 py-3 rounded-full transition-colors">
                    浏览更多故事 <i class="fa fa-book ml-2"></i>
                </a>
            </div>
        </div>
    </section>

    <!-- 学习流程 -->
    <section id="how-it-works" class="py-20 bg-white">
        <div class="container mx-auto px-4">
            <div class="text-center mb-16">
                <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold mb-4">如何开始你的<span class="text-primary">学习之旅</span>？</h2>
                <p class="text-gray-600 max-w-2xl mx-auto text-lg">简单三步，开启全新的语言学习体验</p>
            </div>

            <div class="grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto">
                <!-- 步骤1 -->
                <div class="text-center relative">
                    <div class="w-20 h-20 bg-primary text-white rounded-full flex items-center justify-center text-3xl font-bold mx-auto mb-6">1</div>
                    <h3 class="text-xl font-bold mb-3">选择你的水平</h3>
                    <p class="text-gray-600">
                        告诉我们你的英文<span class="english-word">level</span>，我们会为你推荐合适的<span class="english-word">stories</span>和学习计划。
                    </p>
                    <div class="hidden md:block absolute top-10 right-0 w-full h-1 bg-gray-200 -z-10"></div>
                </div>

                <!-- 步骤2 -->
                <div class="text-center relative">
                    <div class="w-20 h-20 bg-primary text-white rounded-full flex items-center justify-center text-3xl font-bold mx-auto mb-6">2</div>
                    <h3 class="text-xl font-bold mb-3">阅读与学习</h3>
                    <p class="text-gray-600">
                        阅读精心设计的中文故事，遇到英文<span class="english-word">words</span>时可以随时查看解释和<span class="english-word">pronunciation</span>。
                    </p>
                    <div class="hidden md:block absolute top-10 right-0 w-full h-1 bg-gray-200 -z-10"></div>
                </div>

                <!-- 步骤3 -->
                <div class="text-center">
                    <div class="w-20 h-20 bg-primary text-white rounded-full flex items-center justify-center text-3xl font-bold mx-auto mb-6">3</div>
                    <h3 class="text-xl font-bold mb-3">练习与巩固</h3>
                    <p class="text-gray-600">
                        完成互动<span class="english-word">exercises</span>，通过游戏化方式巩固所学内容，跟踪你的<span
                            class="english-word">progress</span>。
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- 用户评价 -->
    <section id="testimonials" class="py-20 bg-gradient-to-br from-indigo-50 to-blue-50">
        <div class="container mx-auto px-4">
            <div class="text-center mb-16">
                <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold mb-4">用户的<span class="text-primary">真实反馈</span></h2>
                <p class="text-gray-600 max-w-2xl mx-auto text-lg">看看他们如何通过我们的方法提升语言能力</p>
            </div>

            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <!-- 评价1 -->
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="flex items-center mb-6">
                        <img src="https://picsum.photos/id/64/100/100" alt="用户头像" class="w-14 h-14 rounded-full object-cover">
                        <div class="ml-4">
                            <h4 class="font-bold">李明</h4>
                            <div class="text-yellow-400">
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                            </div>
                        </div>
                    </div>
                    <p class="text-gray-600 italic">
                        "这种学习方式太神奇了！我在阅读有趣故事的同时，不知不觉就记住了很多英文<span class="english-word">vocabulary</span>，比背单词书有效多了。"
                    </p>
                </div>

                <!-- 评价2 -->
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="flex items-center mb-6">
                        <img src="https://picsum.photos/id/65/100/100" alt="用户头像" class="w-14 h-14 rounded-full object-cover">
                        <div class="ml-4">
                            <h4 class="font-bold">张婷</h4>
                            <div class="text-yellow-400">
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star-half-o"></i>
                            </div>
                        </div>
                    </div>
                    <p class="text-gray-600 italic">
                        "作为一名学生，我一直觉得学英语很枯燥。但通过这些故事，我发现学习可以很<span class="english-word">enjoyable</span>，我的英语成绩也有了明显提升。"
                    </p>
                </div>

                <!-- 评价3 -->
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="flex items-center mb-6">
                        <img src="https://picsum.photos/id/91/100/100" alt="用户头像" class="w-14 h-14 rounded-full object-cover">
                        <div class="ml-4">
                            <h4 class="font-bold">王建国</h4>
                            <div class="text-yellow-400">
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                            </div>
                        </div>
                    </div>
                    <p class="text-gray-600 italic">
                        "工作需要经常用英语，但我一直不敢开口。通过这种方式学习后，我掌握了很多实用<span class="english-word">expressions</span>，现在交流自信多了。"
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- 下载/开始区域 -->
    <section id="download" class="py-20 bg-white">
        <div class="container mx-auto px-4">
            <div class="bg-primary rounded-3xl overflow-hidden shadow-2xl max-w-6xl mx-auto">
                <div class="md:flex">
                    <div class="md:w-1/2 p-8 md:p-12 flex flex-col justify-center">
                        <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold text-white mb-6">
                            开始你的双语学习之旅
                        </h2>
                        <p class="text-white/90 text-lg mb-8">
                            下载我们的应用，或直接在网页上开始探索，随时随地提升你的语言能力。
                        </p>
                        <div class="flex flex-col sm:flex-row gap-4">
                            <a href="#"
                               class="bg-white text-primary hover:bg-gray-100 px-6 py-3 rounded-full flex items-center justify-center transition-colors">
                                <i class="fa fa-apple text-2xl mr-2"></i>
                                <div class="text-left">
                                    <div class="text-xs">敬请期待</div>
                                    <div class="font-bold">App Store</div>
                                </div>
                            </a>
                            <a href="#"
                               class="bg-white text-primary hover:bg-gray-100 px-6 py-3 rounded-full flex items-center justify-center transition-colors">
                                <i class="fa fa-android text-2xl mr-2"></i>
                                <div class="text-left">
                                    <div class="text-xs">敬请期待</div>
                                    <div class="font-bold">Google Play</div>
                                </div>
                            </a>
                        </div>
                        <div class="mt-6">
                            <a href="#" class="text-white hover:text-white/80 inline-flex items-center font-medium">
                                敬请期待 <i class="fa fa-external-link ml-2"></i>
                            </a>
                        </div>
                    </div>
                    <div class="md:w-1/2">
                        <img src="https://picsum.photos/id/180/600/400" alt="手机应用展示" class="h-full w-full object-cover">
                    </div>
                </div>
            </div>
        </div>
    </section>
</main>

<!-- 页脚 -->
<footer style="text-align: center; background-color: #1E293B; color: white; padding: 10px 0;">
    <div class="container mx-auto px-4 py-8">
        <div class="flex flex-col md:flex-row justify-between items-center mb-8">
            <div class="mb-6 md:mb-0">
                <div class="flex items-center space-x-2 justify-center md:justify-start">
                    <span class="text-primary text-2xl"><i class="fa fa-language"></i></span>
                    <span class="font-bold text-xl">故事岛记单词</span>
                </div>
                <p class="text-gray-400 mt-2 text-center md:text-left">让语言学习变得自然而有趣</p>
            </div>

            <div class="flex space-x-6" style="display: none;">
                <a href="#" class="text-gray-400 hover:text-white transition-colors"><i class="fa fa-weixin text-xl"></i></a>
                <a href="#" class="text-gray-400 hover:text-white transition-colors"><i class="fa fa-weibo text-xl"></i></a>
                <a href="#" class="text-gray-400 hover:text-white transition-colors"><i class="fa fa-instagram text-xl"></i></a>
                <a href="#" class="text-gray-400 hover:text-white transition-colors"><i class="fa fa-twitter text-xl"></i></a>
            </div>
        </div>

        <div class="border-t border-gray-700 pt-8 flex flex-col md:flex-row justify-center md:justify-between items-center">
            <div class="flex flex-wrap justify-center gap-x-8 gap-y-2 mb-4 md:mb-0" style="display: none;">
                <a href="#" class="text-gray-400 hover:text-white transition-colors">关于我们</a>
                <a href="#" class="text-gray-400 hover:text-white transition-colors">联系方式</a>
                <a href="#" class="text-gray-400 hover:text-white transition-colors">隐私政策</a>
                <a href="#" class="text-gray-400 hover:text-white transition-colors">服务条款</a>
            </div>
            <a>象象力故事科技有限公司</a>
            <a href="https://beian.miit.gov.cn" target="_blank" style="text-align: center">
                <p id="caseInfo" class="text-gray-500">粤ICP备2025473947号</p>
            </a>
        </div>
    </div>
</footer>

<script>
    // 移动端菜单切换
    const menuBtn = document.getElementById('menuBtn');
    const mobileMenu = document.getElementById('mobileMenu');

    menuBtn.addEventListener('click', () => {
        mobileMenu.classList.toggle('hidden');
        const icon = menuBtn.querySelector('i');
        if (icon.classList.contains('fa-bars')) {
            icon.classList.replace('fa-bars', 'fa-times');
        } else {
            icon.classList.replace('fa-times', 'fa-bars');
        }
    });

    // 导航栏滚动效果
    window.addEventListener('scroll', () => {
        const header = document.querySelector('header');
        if (window.scrollY > 50) {
            header.classList.add('py-2', 'shadow');
            header.classList.remove('py-3');
        } else {
            header.classList.add('py-3');
            header.classList.remove('py-2', 'shadow');
        }
    });

    // 平滑滚动
    document.querySelectorAll('a[href^="#"]').forEach(anchor => {
        anchor.addEventListener('click', function (e) {
            e.preventDefault();

            // 关闭移动菜单（如果打开）
            if (!mobileMenu.classList.contains('hidden')) {
                mobileMenu.classList.add('hidden');
                const icon = menuBtn.querySelector('i');
                icon.classList.replace('fa-times', 'fa-bars');
            }

            const targetId = this.getAttribute('href');
            if (targetId === '#') return;

            const targetElement = document.querySelector(targetId);
            if (targetElement) {
                window.scrollTo({
                    top: targetElement.offsetTop - 80,
                    behavior: 'smooth'
                });
            }
        });
    });
</script>
</body>
</html>
